Organization: Dept. of Philosophy, Utrecht University, The Netherlands
Hello,
I am trying to record a double click with the mouse. I have a code that checks if the time past after the last mouse click is smaller than or equal to DoubleTime. But this doesn't work. Am I supposed to wait after a mouseclick if a next mouseclick will occur within doubletime and at roughly the same location, or can I handle the mouseclick and then check the doubletime for a doubleclick.
Any help would be very appreciated,
Lots of thanks in advance,
Adriaan Tijsseling ,
adriaan@phil.ruu.nl
+++++++++++++++++++++++++++
>From chuck@gte.com (Chuck Hoffman)
Date: Fri, 25 Mar 1994 17:37:22 GMT
Organization: GTE Laboratories
In article <2muqqg$1hq@laurel.phil.ruu.nl>, adriaan@phil.ruu.nl (Adriaan
Tijsseling) wrote:
> Hello,
>
> I am trying to record a double click with the mouse. I have a code that checks if the time past after the last mouse click is smaller than or equal to DoubleTime. But this doesn't work. Am I supposed to wait after a mouseclick if a next mouseclick will occur within doubletime and at roughly the same location, or can I handle the mouseclick and then check the doubletime for a doubleclick.
> Any help would be very appreciated,
>
Just a piece of trivia. The time for the double-click is from the time of
the mouse-up to the next mouse-down, though most people probably just time
from mouse-down to the next mouse-down. Compare that with DoubleTime.